import request from '../utils/request'

// 模板列表	
// POST/zsrencai/api/company/company-invite/list
// 未设置
export const inviteList = query => {
  return request.post('/zsrencai/api/company/company-invite/list', query)
}

// 删除模板	
// GET/zsrencai/api/company/company-invite/delete/{id}
// 未设置
export const inviteDel = id => {
  return request.get('/zsrencai/api/company/company-invite/delete/' + id)
}

// 默认模板	
// PUT/zsrencai/api/company/company-invite/status/{id}/{status}
// 未设置
export const inviteStatus = (id, status) => {
  return request.put('/zsrencai/api/company/company-invite/status/' + id + '/' + status)
}

// 编辑模板	
// PUT/zsrencai/api/company/company-invite/update
// 未设置
export const inviteUpdate = query => {
  return request.put('/zsrencai/api/company/company-invite/update', query)
}

// 编辑页面	
// GET/zsrencai/api/company/edit/info/{id}
// 未设置
export const editInfo = id => {
  return request.get('/zsrencai/api/company/company-invite/edit/info/' + id)
}

// 添加自定义模板	
// POST/zsrencai/api/company/company-invite/save
// 未设置
export const inviteSave = query => {
  return request.post('/zsrencai/api/company/company-invite/save', query)
}

// 常用语列表	
// GET/zsrencai/api/company/company-common-words/list
// 未设置
export const commonList = query => {
  return request.get('/zsrencai/api/company/company-common-words/list', query)
}

// 删除常用语	
// GET/zsrencai/api/company/delete/{id}
// 未设置
export const companyDel = id => {
  return request.get('/zsrencai/api/company/company-common-words/delete/' + id)
}

// 添加常用语	
// POST/zsrencai/api/company/company-common-words/save
// 未设置
export const commonSave = query => {
  return request.post('/zsrencai/api/company/company-common-words/save', query)
}

// 编辑页面	
// GET/zsrencai/api/company/company-common-words/edit/info/{id}
// 未设置
export const commonEdit = id => {
  return request.get('/zsrencai/api/company/company-common-words/edit/info/' + id)
}

// 编辑常用语	
// POST/zsrencai/api/company/company-common-words/update
export const commonUpdate = query => {
  return request.put('/zsrencai/api/company/company-common-words/update', query)
}